package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.OaInitiationContract;

/**
 * 立项合同Mapper接口
 *
 * @author ruoyi
 * @date 2025-03-12
 */
public interface OaInitiationContractMapper
{
    /**
     * 查询立项合同
     *
     * @param id 立项合同主键
     * @return 立项合同
     */
    public OaInitiationContract selectOaInitiationContractById(Long id);

    /**
     * 查询立项合同列表
     *
     * @param oaInitiationContract 立项合同
     * @return 立项合同集合
     */
    public List<OaInitiationContract> selectOaInitiationContractList(OaInitiationContract oaInitiationContract);

    /**
     * 新增立项合同
     *
     * @param oaInitiationContract 立项合同
     * @return 结果
     */
    public int insertOaInitiationContract(OaInitiationContract oaInitiationContract);

    /**
     * 修改立项合同
     *
     * @param oaInitiationContract 立项合同
     * @return 结果
     */
    public int updateOaInitiationContract(OaInitiationContract oaInitiationContract);

    /**
     * 删除立项合同
     *
     * @param id 立项合同主键
     * @return 结果
     */
    public int deleteOaInitiationContractById(Long id);

    /**
     * 批量删除立项合同
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOaInitiationContractByIds(Long[] ids);

}
